<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
        "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
    <title>Title</title>
</head>
<body>
<script>


    function fun() {
        var d = document.getElementById("d");
        for (var number1 =1 ; number1 <=3; i++) {
            d.src = "../img/banner_" + number1 + ".jpg";
        }
    }
    setTimeout(fun,1000);


</script>
</body>
</html>